home *** CD-ROM | disk | FTP | other *** search
/ Night Owl 6 / Night Owl's Shareware - PDSI-006 - Night Owl Corp (1990).iso / 027a / vntx.zip / CORRUPT.CH next >
Text File  |  1991-02-07  |  534b  |  14 lines

  1. // Result Codes
  2. #define CO_BADRECNO 2       // record number in ntx does not exist in dbf
  3. #define CO_BADKEY 1         // key in index does not match key in dbf
  4. #define CO_OK 0             // index is fine
  5. #define CO_NTXOPEN -1       // could not open ntx file
  6. #define CO_NTXREAD -2       // could not read ntx file
  7. #define CO_BADDBF -3        // could not find dbf file
  8. #define CO_KEYUNDEFINED -4  // key is undefined on specified database
  9.  
  10. // Array access indices
  11. #define CO_CHILD 1
  12. #define CO_RECNO 2
  13. #define CO_KEY 3
  14.